Package-level declarations

Types

Link copied to clipboard
sealed class CPGRequestResource<R : Resource>

This abstracts the CPG Request Resources used in various activities. The various subclasses of CPGRequestResource act as a wrapper around the resource they are derived from and helps with the abstracted properties defined for each CPGRequestResource. e.g. CPGCommunicationRequest is a wrapper around the CommunicationRequest and helps with its Intent, Status and basedOn References.

Link copied to clipboard
sealed class Intent

PROPOSAL, PLAN and ORDER are the only intents we are interested in. All the other Request Intent values are represented by OTHER.

Link copied to clipboard
sealed interface Status

For the activity flow, we are interested in a few status and they are be represented as individual values here. Everything else is represented by OTHER.